#ifndef MYTHREAD_H
#define MYTHREAD_H

#include <QWidget>
#include <QThread>
#include <QMutex>

class mythread : public QThread
{
    Q_OBJECT
public:
    mythread();
    void run() override;
    static int _sum;
    static QMutex _mutex;

signals:
    void timer();
};



#endif // MYTHREAD_H
